/*
 * CPU.h
 *
 *  Created on: May 27, 2013
 *      Author: Gugg
 */
 
 
#ifndef SYSTEM_TIMER_H_
#define SYSTEM_TIMER_H_

#include "CPU.h"
#include "interrupt.h"

typedef struct {
	int interval_length;
	interrupt intr;
	cpu* my_st_cpu;
} system_timer;

void system_timer_init(system_timer* the_st, int interval_length, cpu* proc);

void system_timer_run(system_timer* the_st);
